﻿' NOTE: If you change the class name "Welcome" here, you must also update the reference to "Welcome" in Web.config and in the associated .svc file.
Public Class Welcome
    Implements IWelcome

    Dim welcome As New WelcomeRoutines

    Public Function Hello(ByVal clientMajorVersion As Integer, ByVal clientMinorVersion As Integer, ByVal clientPatch As Integer) As IdentificationType Implements IWelcome.Hello
        Return welcome.Hello(clientMajorVersion, clientMinorVersion, clientPatch)
    End Function

    Public Function GetFile(ByVal filename As String) As System.IO.Stream Implements IWelcome.GetFile
        Return welcome.GetFile(filename)
    End Function

    Public Function DeleteFile(ByVal token As String, ByVal filename As String) As String Implements IWelcome.DeleteFile
        Return welcome.DeleteFile(token, filename)
    End Function

    Public Function GetFiles(ByVal token As String) As String Implements IWelcome.GetFiles
        Return welcome.GetFiles(token)
    End Function

    Public Function PutFile(ByVal uploadStream As System.IO.Stream) As String Implements IWelcome.PutFile
        Return welcome.AddFile(uploadStream)
    End Function

    Public Function PreloadFile(ByVal token As String, ByVal filename As String, ByVal size As Long) As String Implements IWelcome.PreloadFile
        Return welcome.PreloadFile(token, filename, size)
    End Function
End Class
